package demo1;

public class Test {
    public static void main(String[] args){
       Gold p = new Gold("liu",10000);
     double p1 = p.pay(3000);
       System.out.println(p1);


    }
}
